﻿using System.Collections.Generic;
using NExt.Handler.Base;
using NExt.Handler.Base.Default;

namespace NExt.Handler.Component
{
    public class ChainedHandlerFactory: AbstractChainedHandlerFactory
    {
        protected override IList<IHandlerFactory> BuildHandlerFactoryList()
        {
            IList<IHandlerFactory> httpHandlerFactoryList = new List<IHandlerFactory>();
            httpHandlerFactoryList.Add(new Default.JsSerialize.HandlerFactory());
            httpHandlerFactoryList.Add(new Default.RemoteInstance.HandlerFactory());
            httpHandlerFactoryList.Add(new Default.RemoteMethod.HandlerFactory());

            return httpHandlerFactoryList;
        }
    }
}
